package com.codi.bus.core.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.codi.base.domain.BaseDomain;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 亲，写个类注释呗
 * @author asus
 * @date 2018-03-13 16:38
 */
@Builder
@Accessors(chain = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OnePortfolio extends BaseDomain {
    private Long opOnePortfolioId;

    private Long opPortfolioAssetsId;

    private String opPortfolioCode;

    private String opPortfolioName;

    private BigDecimal opOnePortfolioAssets;

    private BigDecimal opOnePortfolioTodayIncome;

    private BigDecimal opOnePortfolioShareIncome;

    private BigDecimal opOnePortfolioAccumIncome;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date opNetValueDate;

    private BigDecimal opPortfolioCurrentShare;

    private BigDecimal opPortfolioEnableShare;

    private Long opPortfolioSellTransitNum;

    private Boolean opPortfolioCanSell;

    private String opShareWord;

    private String opTradeAccount;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date opEffectTime;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date opCreateDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date opUpdateDate;

    private static final long serialVersionUID = 1L;
}